<template>
  <baseCard :title="title">
    <template #content>
      <div class="choose">
        <h3>因为专业 所以信赖</h3>
        <p>我们致力于为客户量身定制满意、高效、优质的软件系统。</p>
        <p>我们将坚持“以人为本，强化服务，以技术为中心，以服务为后盾”的经营理念。</p>
        <div class="choose-info">
          <div v-for="item in infoList">
            <div class="choose-info-top">
              {{ item.value }}<span class="choose-info-top-unit">{{ item.unit }}</span>
            </div>
            <div class="choose-info-bottom">{{ item.title }}</div>
          </div>
        </div>
      </div>
    </template>
  </baseCard>
</template>

<script setup lang="ts" name="introduceBox">
import baseCard from '@/components/baseCard/index.vue'

const title = '为什么选择我们'

const infoList = [
  {
    value: '10',
    title: '开发技术',
    unit: '年'
  },
  {
    value: '6',
    title: '成员平均开发经验',
    unit: '年'
  },
  {
    value: '100',
    title: '合作项目',
    unit: '+'
  }
]
</script>

<style scoped lang="less">
.choose {
  height: 400px;
  width: 100%;
  background-color: #3e88f1;
  background-image: url('	https://s.300.cn/archive/images/2024/08/19/Yandex-1920x600.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  h3,
  p {
    padding: 10px;
  }

  .choose-info {
    margin-top: 120px;
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    width: 100%;
    .choose-info-top {
      font-size: 60px;
      .choose-info-top-unit {
        font-size: 20px;
      }
    }
    .choose-info-bottom {
      font-size: 24px;
      // margin-bottom: 30px;
    }
  }
}
</style>
